package cn.edu.nsmc.modules.sys.service;

import cn.edu.nsmc.common.utils.R;
import cn.edu.nsmc.modules.sys.entity.SysUserEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

public interface SysRepairmanService {
    R getList(SysUserEntity sysUserEntity,Integer page,Integer size);

    void getExcelTemplate(HttpServletResponse response);

    R importRepairman(MultipartFile file,Long userId);

    void exportRepairman(SysUserEntity sysUserEntity, HttpServletResponse response) throws IOException;

    R queryStatistics(SysUserEntity sysUserEntity);

    void exportStatistics(SysUserEntity sysUserEntity, HttpServletResponse response);

    R getSelectList(String name);
}
